package cn.iocoder.ny.module.activity.mapper;

import cn.iocoder.ny.module.activity.controller.admin.tpActivity.vo.TpActivityPageReqVo;
import cn.iocoder.ny.module.activity.controller.admin.tpActivity.vo.TpActivityRespVo;
import cn.iocoder.ny.module.activity.controller.admin.tpActivity.vo.TpActivityVo;
import cn.iocoder.ny.module.activity.domain.TpActivity;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface TpActivityMapper extends BaseMapper<TpActivity> {
    IPage<TpActivityRespVo> queryPageList(IPage<TpActivityRespVo> page, @Param("reqVO") TpActivityPageReqVo tpActivityPageReqVo);

    TpActivityRespVo queryByActivityId(TpActivityVo tpActivityVo);
}